package com.example.wangshuo.hello205ws;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {
    // 声明控件
    private TextView tvinfo;
    private TextView tvinfo2;
    private ImageView picture;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);
        //获取控件
        tvinfo=(TextView)findViewById(R.id.textView);
        tvinfo2=(TextView)findViewById(R.id.textView);
        picture=(ImageView) findViewById(R.id.imageView2);

    }
}
